package com.tjsiqi.model;

import java.util.Date;

public class XhContractPhoto extends XhContractPhotoKey {
    private Boolean deleteflag;

    private Boolean uploadflag;

    private Integer contractid;

    private String photoid;

    private Date addtime;

    private String cachepath;

    private byte[] imagedata;

    public XhContractPhoto(String id, String unitid, Boolean deleteflag, Boolean uploadflag, Integer contractid, String photoid, Date addtime, String cachepath, byte[] imagedata) {
        super(id, unitid);
        this.deleteflag = deleteflag;
        this.uploadflag = uploadflag;
        this.contractid = contractid;
        this.photoid = photoid;
        this.addtime = addtime;
        this.cachepath = cachepath;
        this.imagedata = imagedata;
    }

    public XhContractPhoto() {
        super();
    }

    public Boolean getDeleteflag() {
        return deleteflag;
    }

    public void setDeleteflag(Boolean deleteflag) {
        this.deleteflag = deleteflag;
    }

    public Boolean getUploadflag() {
        return uploadflag;
    }

    public void setUploadflag(Boolean uploadflag) {
        this.uploadflag = uploadflag;
    }

    public Integer getContractid() {
        return contractid;
    }

    public void setContractid(Integer contractid) {
        this.contractid = contractid;
    }

    public String getPhotoid() {
        return photoid;
    }

    public void setPhotoid(String photoid) {
        this.photoid = photoid == null ? null : photoid.trim();
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getCachepath() {
        return cachepath;
    }

    public void setCachepath(String cachepath) {
        this.cachepath = cachepath == null ? null : cachepath.trim();
    }

    public byte[] getImagedata() {
        return imagedata;
    }

    public void setImagedata(byte[] imagedata) {
        this.imagedata = imagedata;
    }
}